<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>学生管理系统-注册</title>
    <%@ include file="/WEB-INF/views/common/include.jsp"%>
    <script type="text/javascript" src="${ctx}/static/js/login/register.js"></script>
	<link rel="stylesheet" href="${ctx}/static/css/login/login.css">
</head>
<body>

<!-- Top content -->
<div class="top-content">

    <div class="inner-bg">
        <div class="container">
            <div class="row">
                <div class="col-sm-12 text">
                    <h1>
                        <img src="${ctx}/static/easyui-1.5.1/images/login-logo.png">
                        <span>|</span>
                        <span>&nbsp;用户注册</span>
                    </h1>
                </div>
            </div>
            <div class="row form-box">
                <div class="col-sm-6 col-sm-offset-3">

                    <div class="form-top">
                        <div class="text-center">
                            <h2>欢迎使用本系统</h2>
                        </div>
                        <div class="form-top-right">
                            <i class="fa fa-lock"></i>
                        </div>
                    </div>

                    <div class="form-bottom">
                        <form role="form" name="registerForm" id="registerForm" action="" method="post" class="login-form form-group-lg">
                            <!--username box-->
                            <div class="input-group">
                                <div class="input-group-btn btn-group-lg">
                                    <button type="button" class="btn btn-default" aria-label="Bold">
                                        <i class="glyphicon glyphicon-user"></i>
                                    </button>
                                </div>
                                <input type="text" class="form-control" name="username" id="username" placeholder="用户名" remote="${ctx}/login/remoteUsername">
                            </div>
                            <!--login type box-->
                            <div class="input-group">
                                <div class="input-group-btn btn-group-lg pwd-type">
                                    <button type="button" class="btn btn-default" aria-label="Bold">
                                        <i class="glyphicon glyphicon-lock"></i>
                                    </button>
                                </div>
                                <input type="password" class="form-control " placeholder="输入密码" name="password" id="password">
                            </div>
                            
                             <!--login type box-->
                            <div class="input-group">
                                <div class="input-group-btn btn-group-lg pwd-type">
                                    <button type="button" class="btn btn-default" aria-label="Bold">
                                        <i class="glyphicon glyphicon-lock"></i>
                                    </button>
                                </div>
                                <input type="password" class="form-control " placeholder="再次输入密码" name="password2" id="password2">
                            </div>
                            
                            <!--login type box-->
                            <div class="input-group">
                                <div class="input-group-btn btn-group-lg">
                                    <button type="button" class="btn btn-default" aria-label="Bold">
                                        <i class="glyphicon glyphicon-user"></i>
                                    </button>
                                </div>
                                <input type="text" class="form-control" placeholder="学生姓名" name="studentName" id="studentName">
                            </div>

							<button type="button" class="btn btn-primary btn-lg btn-block" onclick="addRegister()">完&nbsp;成</button>
							
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>